#53 new
Gaël Deest

Missing route

Reported by Gaël Deest | June 8th, 2009 @ 10:05 AM


I just created a new rails project with restful_authentication. I created a new authentication system with:

./script/generate authenticated users session

and noticed that no route was generated for the 'activate' method of the 'users' controller, which means the default activation URL doesn't work:


Adding this line to routes.rb solves the problem:

map.activate '/activate/:activation_code', :controller => 'users', :action => 'activate'

Hope this helps !


No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Restful Authentication Generator

This widely-used plugin provides a foundation for securely managing user
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.


People watching this ticket